package com.sansan.qiangji.service.impl.base;

import com.sansan.qiangji.VO.base.BaseWageAccount.BaseWageAccountVO;
import com.sansan.qiangji.VO.base.BaseWageAccount.WageAccountVO;
import com.sansan.qiangji.entity.base.BaseWageAccount;
import com.sansan.qiangji.entity.base.example.BaseWageAccountExample;
import com.sansan.qiangji.form.base.BaseWageAccountListForm;
import com.sansan.qiangji.mapper.base.BaseWageAccountMapper;
import com.sansan.qiangji.service.inter.base.BaseWageAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BaseWageAccountServiceImpl implements BaseWageAccountService {

    @Autowired
    private BaseWageAccountMapper baseWageAccountMapper;
    @Override
    public long countByExample(BaseWageAccountExample example) {
        return baseWageAccountMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(BaseWageAccountExample example) {
        return baseWageAccountMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return baseWageAccountMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(BaseWageAccount record) {
        return baseWageAccountMapper.insert(record);
    }

    @Override
    public int insertSelective(BaseWageAccount record) {
        return baseWageAccountMapper.insertSelective(record);
    }

    @Override
    public List<BaseWageAccount> selectByExample(BaseWageAccountExample example) {
        return baseWageAccountMapper.selectByExample(example);
    }

    @Override
    public BaseWageAccount selectByPrimaryKey(Integer id) {
        return baseWageAccountMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(BaseWageAccount record, BaseWageAccountExample example) {
        return baseWageAccountMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(BaseWageAccount record, BaseWageAccountExample example) {
        return baseWageAccountMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(BaseWageAccount record) {
        return baseWageAccountMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(BaseWageAccount record) {
        return baseWageAccountMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<WageAccountVO> getWageAccountVOList(BaseWageAccountListForm form) {
        return baseWageAccountMapper.getWageAccountVOList(form);
    }
}
